package com.lovo.csc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.csc.bean.TenderBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ITenderMapper extends BaseMapper<TenderBean> {
    /**
     * 倒叙查询所有招标书年份
     * @return
     */
    List<Integer> findAllYear();

    List<TenderBean> findTitleByYear(String time);
}
